//
//  MapArea.h
//  ZeroWorld
//
//  Created by 马进 on 2018/2/9.
//  Copyright © 2018年 马进. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MapBlock.h"
@interface MapArea : NSObject
@property (nonatomic, assign) NSUInteger areaid;
@property (nonatomic, strong) NSString *name;
// 这里存放的是所有该area下的blocks， 对应id
@property (nonatomic, strong) NSMutableArray *mapBlocks;

- (instancetype)initWithAreaId:(NSUInteger)areaid name:(NSString *)name blocks:(NSMutableArray *)mapBlocks;
- (MapBlock *)lookMapBlock:(NSUInteger)mapid;
@end
